package groovy

class TemplateFunctionFacade {
    Map<String,Closure<GString>> functionMap = ["sexFormat":this.&sexFormat, "test":this.&test]

    def sexFormat(sex){
        print("================="+sex)
        return TestGroovyTemplate.sexFormat(sex)
    }

    def test = {
        return "----${it}-----"
    }
}